<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background-color: pink;
            /* 内边距(四周均有) */
            padding: 20px;

            /* 边框线,快捷输入bd */
            border: 1px solid #000;

            margin: 50px;


        }
    </style>
</head>

<body>
    <div>div标签</div>
</body>

</html>